package com.xoms.pad.service;

import java.net.Inet4Address;
import java.util.List;

import com.xoms.pad.controller.OrderProJsonBean;
import com.xoms.pad.controller.res.bean.RModifyOrderBean;
import com.xoms.pad.controller.res.bean.ROrderListBean;
import com.xoms.pad.controller.res.bean.RProductOrderBean;
import com.xoms.pad.model.AccountBean;
import com.xoms.pad.service.res.PageResult;

/**
 * 订单业务接口
 * 
 * @author stallmandu
 *
 */
public interface OrderService {

	/**
	 * 商品下单
	 * 
	 * @param account
	 *            当前登录账户信息
	 * @param pros
	 *            下单的商品信息
	 * @param actualMoeny
	 *            实际金额
	 * @param payType
	 *            支付类型
	 * @param isHand
	 *            是否挂帐
	 * @param roomId
	 *            影厅id
	 * @param isAuth
	 *            是否授权
	 * @param authMoney
	 *            授权金额
	 * @param authAccId
	 *            授权人id
	 * @param vipCardId
	 *            会员卡id
	 * @param deviceMac
	 *            设备mac地址
	 * @return
	 */
	RProductOrderBean getAddOrder(AccountBean account, List<OrderProJsonBean> pros, double actualMoeny,
			int payType,  String roomId,int isHand, String handRoomId, int isAuth, double authMoney, String authAccountId,
			String deviceMac);
	
	/**
	 * 修改订单
	 * 
	 * @param account
	 * @param page
	 * @param pageSize
	 * @return
	 */
	Boolean modifyOrder(AccountBean account,String oid,
			String payType,String isHand,String roomId,String handRoomId,String payStatus);
	/**
	 * 订单列表
	 * 
	 * @param account
	 * @param page
	 * @param pageSize
	 * @return
	 */
	PageResult<ROrderListBean> orderList(AccountBean account,String oid,int sendStatus,int status, int orderType,int page, int pageSize);
}
